const { reply } = require('../../wechat/reply')
const config = require('../../config/config')
const wechatMiddle = require('../../wechat-lib/middleware')

exports.hear = async (ctx, next) => {
  const middle = wechatMiddle(config.wechat, reply)

  await middle(ctx, next)
}
